<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>EOS.IO: eosio::real Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="eos-logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">EOS.IO
   &#160;<span id="projectnumber">DAWN3.0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceeosio.html">eosio</a></li><li class="navelem"><a class="el" href="classeosio_1_1real.html">real</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classeosio_1_1real-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">eosio::real Class Reference<div class="ingroups"><a class="el" href="group__contractdev.html">Smart Contract API Reference</a> &raquo; <a class="el" href="group__mathapi.html">Math API</a> &raquo; <a class="el" href="group__mathcppapi.html">Math C++ API</a> &raquo; <a class="el" href="group__real.html">Real number</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="real_8hpp_source.html">real.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a59e7fabdebbbb952094c2776a160caa8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeosio_1_1real.html#a59e7fabdebbbb952094c2776a160caa8">real</a> (const <a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> &amp;_val)</td></tr>
<tr class="memdesc:a59e7fabdebbbb952094c2776a160caa8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor to double object from uint64 value.  <a href="#a59e7fabdebbbb952094c2776a160caa8">More...</a><br /></td></tr>
<tr class="separator:a59e7fabdebbbb952094c2776a160caa8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ac76513d4a474fde9ae10f4c4b06af2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeosio_1_1real.html#a2ac76513d4a474fde9ae10f4c4b06af2">value</a> () const</td></tr>
<tr class="separator:a2ac76513d4a474fde9ae10f4c4b06af2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga68cd8e0f235479aba3ac8d2079172c25"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classeosio_1_1real.html">real</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__real.html#ga68cd8e0f235479aba3ac8d2079172c25">operator+</a> (const <a class="el" href="classeosio_1_1real.html">real</a> &amp;rhs) const</td></tr>
<tr class="memdesc:ga68cd8e0f235479aba3ac8d2079172c25"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add two real variables.  <a href="group__real.html#ga68cd8e0f235479aba3ac8d2079172c25">More...</a><br /></td></tr>
<tr class="separator:ga68cd8e0f235479aba3ac8d2079172c25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6c5c07225c48b3dce21538f62d7be277"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classeosio_1_1real.html">real</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__real.html#ga6c5c07225c48b3dce21538f62d7be277">operator*</a> (const <a class="el" href="classeosio_1_1real.html">real</a> &amp;rhs) const</td></tr>
<tr class="memdesc:ga6c5c07225c48b3dce21538f62d7be277"><td class="mdescLeft">&#160;</td><td class="mdescRight">Multiply two real variables.  <a href="group__real.html#ga6c5c07225c48b3dce21538f62d7be277">More...</a><br /></td></tr>
<tr class="separator:ga6c5c07225c48b3dce21538f62d7be277"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga064fdac1b4799429680ff50ebf690d38"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classeosio_1_1real.html">real</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__real.html#ga064fdac1b4799429680ff50ebf690d38">operator/</a> (const <a class="el" href="classeosio_1_1real.html">real</a> &amp;rhs) const</td></tr>
<tr class="memdesc:ga064fdac1b4799429680ff50ebf690d38"><td class="mdescLeft">&#160;</td><td class="mdescRight">Division between two real variables.  <a href="group__real.html#ga064fdac1b4799429680ff50ebf690d38">More...</a><br /></td></tr>
<tr class="separator:ga064fdac1b4799429680ff50ebf690d38"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a5a7c02baf325d5f9351d3e348f779f5a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeosio_1_1real.html#a5a7c02baf325d5f9351d3e348f779f5a">operator==</a> (const <a class="el" href="classeosio_1_1real.html">real</a> &amp;c1, const <a class="el" href="classeosio_1_1real.html">real</a> &amp;c2)</td></tr>
<tr class="memdesc:a5a7c02baf325d5f9351d3e348f779f5a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compares two double variables c1 and c2.  <a href="#a5a7c02baf325d5f9351d3e348f779f5a">More...</a><br /></td></tr>
<tr class="separator:a5a7c02baf325d5f9351d3e348f779f5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef9761f53a00fd4debd021a192449396"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeosio_1_1real.html#aef9761f53a00fd4debd021a192449396">operator&gt;</a> (const <a class="el" href="classeosio_1_1real.html">real</a> &amp;c1, const <a class="el" href="classeosio_1_1real.html">real</a> &amp;c2)</td></tr>
<tr class="memdesc:aef9761f53a00fd4debd021a192449396"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compares two double variables c1 and c2.  <a href="#aef9761f53a00fd4debd021a192449396">More...</a><br /></td></tr>
<tr class="separator:aef9761f53a00fd4debd021a192449396"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2fed6b34d60d75b613ab1d3078d102c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeosio_1_1real.html#af2fed6b34d60d75b613ab1d3078d102c">operator&lt;</a> (const <a class="el" href="classeosio_1_1real.html">real</a> &amp;c1, const <a class="el" href="classeosio_1_1real.html">real</a> &amp;c2)</td></tr>
<tr class="memdesc:af2fed6b34d60d75b613ab1d3078d102c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compares two double variables c1 and c2.  <a href="#af2fed6b34d60d75b613ab1d3078d102c">More...</a><br /></td></tr>
<tr class="separator:af2fed6b34d60d75b613ab1d3078d102c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a59e7fabdebbbb952094c2776a160caa8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a59e7fabdebbbb952094c2776a160caa8">&#9670;&nbsp;</a></span>real()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">eosio::real::real </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> &amp;&#160;</td>
          <td class="paramname"><em>_val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Constructor to double object from uint64 value </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">val</td><td>data </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a2ac76513d4a474fde9ae10f4c4b06af2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2ac76513d4a474fde9ae10f4c4b06af2">&#9670;&nbsp;</a></span>value()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> eosio::real::value </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="af2fed6b34d60d75b613ab1d3078d102c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2fed6b34d60d75b613ab1d3078d102c">&#9670;&nbsp;</a></span>operator<</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool operator&lt; </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classeosio_1_1real.html">real</a> &amp;&#160;</td>
          <td class="paramname"><em>c1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classeosio_1_1real.html">real</a> &amp;&#160;</td>
          <td class="paramname"><em>c2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Compares two double variables c1 and c2 </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">c1</td><td></td></tr>
    <tr><td class="paramname">c2</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>if c1 &lt; c2, return true, otherwise false </dd></dl>

</div>
</div>
<a id="a5a7c02baf325d5f9351d3e348f779f5a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5a7c02baf325d5f9351d3e348f779f5a">&#9670;&nbsp;</a></span>operator==</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classeosio_1_1real.html">real</a> &amp;&#160;</td>
          <td class="paramname"><em>c1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classeosio_1_1real.html">real</a> &amp;&#160;</td>
          <td class="paramname"><em>c2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Compares two double variables c1 and c2 </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">c1</td><td></td></tr>
    <tr><td class="paramname">c2</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>if c1 == c2, return true, otherwise false </dd></dl>

</div>
</div>
<a id="aef9761f53a00fd4debd021a192449396"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef9761f53a00fd4debd021a192449396">&#9670;&nbsp;</a></span>operator></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool operator&gt; </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classeosio_1_1real.html">real</a> &amp;&#160;</td>
          <td class="paramname"><em>c1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classeosio_1_1real.html">real</a> &amp;&#160;</td>
          <td class="paramname"><em>c2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Compares two double variables c1 and c2 </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">c1</td><td></td></tr>
    <tr><td class="paramname">c2</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>if c1 &gt; c2, return true, otherwise false </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>contracts/eoslib/<a class="el" href="real_8hpp_source.html">real.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
